using UnityEngine;

public static class GameManager {
    public static bool checkIsGround (Vector3 targetPos) {
        int layerMask = 1 << LayerMask.NameToLayer ("Ground");
        Collider2D collider = Physics2D.OverlapCircle (targetPos, 0.25f, layerMask);
        if (collider != null) {
            return true;
        }
        return false;
    }
}